﻿<li class="collapsable" id="li0">
<input id="cbx0" type="checkbox" class="cbxFunctionParent" /><span class="spNameFunctionParent"
    style="cursor: pointer; font-weight: bold">Menu gốc</span>
<ul style="list-style-position:inside">
{#foreach $T.Items as functionParrent}
<li class="collapsable" id="li{$T.functionParrent.Info.Id}" style="padding-bottom: 5px;padding-left:20px;padding-top:5px;font-weight: bold">
    <input id="cbx{$T.functionParrent.Info.Id}" type="checkbox" class="cbxFunctionParent" /><span
        class="spNameFunctionParent" style="cursor: pointer;">{$T.functionParrent.Info.Name}</span>
    [<a style="font-style: italic" id="aAddFunction" href="javascript:;">Thêm</a>]
    <ul class="visible" style="list-style-position:inside" id="ulNotInRole{$T.functionParrent.Info.Id}">
        {#foreach $T.functionParrent.Items as functionSub}
            <li id="li{$T.functionSub.Id}" style="padding-top: 5px; padding-left: 20px; font-weight: normal">
                <input type="checkbox" class="cbxFunctionNotInRole" id="cbx{$T.functionSub.FunctionID}" /><span>{$T.functionSub.Name}</span>
                [<a style="font-style: italic" id="aAddFunction" href="javascript:;">Thêm</a>]
            </li>
        {#/for}
    </ul>
    </li>
            
{#/for}</ul> </li>

